﻿<?xml version="1.0" encoding="utf-8" ?>
<UxDesign xmlns:p1="T4UtilityBelt.UxDesigns.Screens" xmlns:p2="T4UtilityBelt.UxDesigns.Controls" xmlns:p3="T4UtilityBelt.UxDesigns.Specialized" xmlns="T4UtilityBelt.UxDesigns">
  <Views xmlns="">
    <p1:EntityListScreen EntityName="Session" Title="SessionListEntity" Name="SessionListEntity" />
    <p1:EntityCreateScreen EntityName="Session" Title="SessionCreateEntity" Name="SessionCreateEntity">
      <TitleControls>
        <p2:LabelControl Text="SessionCreateEntity" />
      </TitleControls>
      <ContentControls>
        <p2:LabelControl Text="Name" />
        <p2:StringControl Text="{Name, Mode=TwoWay}" PropertyName="Name" ReadOnly="true" />
      </ContentControls>
      <ButtonControls>
        <p2:ButtonControl Click="SaveCommand" Text="Save" />
      </ButtonControls>
    </p1:EntityCreateScreen>
    <p1:EntityReadScreen EntityName="Session" Title="SessionReadEntity" Name="SessionReadEntity">
      <TitleControls>
        <p2:LabelControl Text="SessionReadEntity" />
      </TitleControls>
      <ContentControls>
        <p2:LabelControl Text="Name" />
        <p2:StringControl Text="{Name, Mode=TwoWay}" PropertyName="Name" ReadOnly="true" />
        <p2:LabelControl Text="Name" />
        <p2:StringControl Text="{Description, Mode=TwoWay}" PropertyName="Description" ReadOnly="true" />
      </ContentControls>
      <ButtonControls>
        <p2:ButtonControl Click="EditCommand" Text="Edit" />
      </ButtonControls>
    </p1:EntityReadScreen>
    <p1:EntityUpdateScreen EntityName="Session" Title="SessionUpdateEntity" Name="SessionUpdateEntity">
      <TitleControls>
        <p2:LabelControl Text="SessionUpdateEntity" />
      </TitleControls>
      <ContentControls>
        <p2:LabelControl Text="Name" />
        <p2:StringControl Text="{Name, Mode=TwoWay}" PropertyName="Name" ReadOnly="true" />
      </ContentControls>
      <ButtonControls>
        <p2:ButtonControl Click="SaveCommand" Text="Save" />
        <p2:ButtonControl Click="DeleteCommand" Text="Delete" />
      </ButtonControls>
    </p1:EntityUpdateScreen>
    <p3:BaseScreen EntityName="Session" Title="SessionCreateScreen" Name="SessionCreateScreen">
      <Header>
        <p3:Header Text="SessionCreateScreen" />
      </Header>
      <Content>
        <p2:StackPanelControl>
          <p2:LabelControl Text="Name" />
          <p2:StringControl Text="{Name, Mode=TwoWay}" PropertyName="Name" ReadOnly="true" />
        </p2:StackPanelControl>
      </Content>
      <ActionBar>
        <p3:ActionBar>
          <p3:ActionButton Click="Save" Text="Save" IconUri="actionbar.save.png" />
        </p3:ActionBar>
      </ActionBar>
    </p3:BaseScreen>
  </Views>
</UxDesign>